|
@@ -27,6 +27,7 @@ import com.thinkgem.jeesite.common.utils.Encodes;
|
|
import com.thinkgem.jeesite.common.utils.StringUtils;
|
|
import com.thinkgem.jeesite.common.utils.StringUtils;
|
|
import com.thinkgem.jeesite.modules.sys.entity.User;
|
|
import com.thinkgem.jeesite.modules.sys.entity.User;
|
|
import com.thinkgem.jeesite.modules.sys.utils.UserUtils;
|
|
import com.thinkgem.jeesite.modules.sys.utils.UserUtils;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
@@ -45,6 +46,7 @@ import java.util.stream.Collectors;
|
|
* @author lwt
|
|
* @author lwt
|
|
* @version 2019-07-01
|
|
* @version 2019-07-01
|
|
*/
|
|
*/
|
|
|
|
+@Slf4j
|
|
@Service
|
|
@Service
|
|
@Transactional(readOnly = true)
|
|
@Transactional(readOnly = true)
|
|
public class CmPayShopService extends CrudService<CmPayShopDao, CmPayShop> {
|
|
public class CmPayShopService extends CrudService<CmPayShopDao, CmPayShop> {
|
|
@@ -833,7 +835,8 @@ public class CmPayShopService extends CrudService<CmPayShopDao, CmPayShop> {
|
|
newShopOrderDao.update(shopOrder);
|
|
newShopOrderDao.update(shopOrder);
|
|
record.setStatus("0");
|
|
record.setStatus("0");
|
|
record.setPayTime(DateUtils.formatDateTime(new Date()));
|
|
record.setPayTime(DateUtils.formatDateTime(new Date()));
|
|
-// record.setPayType(cmPayShop.getPayType());
|
|
|
|
|
|
+// record.setPayType(null);
|
|
|
|
+// log.info("打印========================》"+ record.getPayType());
|
|
cmPayShopRecordDao.update(record);
|
|
cmPayShopRecordDao.update(record);
|
|
|
|
|
|
// 还原主订单的状态 ----
|
|
// 还原主订单的状态 ----
|
|
@@ -871,7 +874,7 @@ public class CmPayShopService extends CrudService<CmPayShopDao, CmPayShop> {
|
|
records.forEach(record -> {
|
|
records.forEach(record -> {
|
|
record.setStatus("0");
|
|
record.setStatus("0");
|
|
record.setPayTime(DateUtils.formatDateTime(new Date()));
|
|
record.setPayTime(DateUtils.formatDateTime(new Date()));
|
|
- record.setPayType(cmPayShop.getPayType());
|
|
|
|
|
|
+// record.setPayType(cmPayShop.getPayType());
|
|
cmPayShopRecordDao.update(record);
|
|
cmPayShopRecordDao.update(record);
|
|
});
|
|
});
|
|
cmPayShop.setStatus("0");
|
|
cmPayShop.setStatus("0");
|