Merge remote-tracking branch 'origin/test'
commit
a47200d78a
|
@ -5,7 +5,7 @@ LABEL Author="axzsd" \
|
|||
Description="创盈支付服务端"
|
||||
|
||||
ENV SPRING_PROFILES_ACTIVE="dev"
|
||||
ENV JAVA_OPTIONS "-Xms800m -Xmx800m \
|
||||
ENV JAVA_OPTIONS "-Xms1024m -Xmx2048m \
|
||||
-XX:+HeapDumpOnOutOfMemoryError \
|
||||
-Dfile.encoding=UTF-8 \
|
||||
-Djava.awt.headless=true \
|
||||
|
|
|
@ -20,7 +20,7 @@ services:
|
|||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 800MB
|
||||
memory: 2048MB
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:48080/actuator/health"]
|
||||
timeout: 30s
|
||||
|
|
|
@ -1188,9 +1188,6 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
|
|||
// 初始化订单
|
||||
String code = OrderUtil.generateBillNo("MEMBER");
|
||||
RechargeOrderDO orderDO = initializeOrder(request, code, user, promoterDTO);
|
||||
// 用于测试 ---- TODO
|
||||
addPhoneRecord(orderDO, orderDO.getId().toString());
|
||||
// 用于测试 ---- TODO
|
||||
// 获取支付策略
|
||||
IPayStrategy payStrategy = strategySupport.getPayStrategy(request.getPayType());
|
||||
|
||||
|
@ -1543,8 +1540,6 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
|
|||
orderDO.setPromoterId(user.getPromoterId());
|
||||
orderDO.setDeptId(deptId);
|
||||
orderDO.setTenantId(tenantId);
|
||||
// 用于测试 TODO
|
||||
orderDO.setPaid(1);
|
||||
rechargeOrderMapper.insert(orderDO);
|
||||
List<RechargeOrderInfoDO> infoDOS = new ArrayList<>();
|
||||
orderInfos.forEach(info -> {
|
||||
|
|
|
@ -150,6 +150,7 @@ public class PromoterController {
|
|||
@GetMapping("/all-export-excel")
|
||||
@Operation(summary = "导出所有推广员 Excel")
|
||||
@OperateLog(type = EXPORT)
|
||||
@TenantIgnore
|
||||
public void allExportExcel(@Valid PromoterPageReqVO pageVO,
|
||||
HttpServletResponse response) throws IOException {
|
||||
PageResult<PromoterRespVO> pageResult = promoterService.getPromoterPage(pageVO);
|
||||
|
|
|
@ -149,6 +149,7 @@ public class DeptServiceImpl implements DeptService {
|
|||
});
|
||||
deptMapper.updateBatch(deptDOS, deptDOS.size());
|
||||
deptDO.setName(reqVO.getName());
|
||||
deptDO.setParentOrganizationName(reqVO.getName());
|
||||
deptMapper.updateById(deptDO);
|
||||
// 发送刷新消息
|
||||
deptProducer.sendDeptRefreshMessage();
|
||||
|
|
|
@ -170,12 +170,6 @@ public class TenantServiceImpl implements TenantService {
|
|||
if (ObjectUtil.notEqual(tenant.getPackageId(), updateReqVO.getPackageId())) {
|
||||
updateTenantRoleMenu(tenant.getId(), tenantPackage.getMenuIds());
|
||||
}
|
||||
// 同步修改部门信息
|
||||
DeptUpdateReqVO reqVO = new DeptUpdateReqVO();
|
||||
DeptDO dept = deptService.getDept(updateReqVO.getId());
|
||||
reqVO.setName(updateReqVO.getName());
|
||||
reqVO.setId(dept.getId());
|
||||
deptService.updateDept(reqVO);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue