5a240d38 by xiaojie

【数据资产】

1、认证变更跨平台审批
1 parent e88641da
...@@ -228,7 +228,8 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -228,7 +228,8 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
228 public List<ChangeInfoVO> beforeChangeList(Date createTime){ 228 public List<ChangeInfoVO> beforeChangeList(Date createTime){
229 SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); 229 SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
230 LambdaQueryWrapper<MfEnterpriseChangeApprove> queryWrapper = new LambdaQueryWrapper<>(); 230 LambdaQueryWrapper<MfEnterpriseChangeApprove> queryWrapper = new LambdaQueryWrapper<>();
231 queryWrapper.last("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s') = " + simpleDateFormat.format(createTime)); 231 queryWrapper.apply("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s') = '" + simpleDateFormat.format(createTime) + "'");
232 queryWrapper.orderByDesc(MfEnterpriseChangeApprove::getCreateTime);
232 List<MfEnterpriseChangeApprove> approveList = mfEnterpriseChangeApproveService.list(queryWrapper); 233 List<MfEnterpriseChangeApprove> approveList = mfEnterpriseChangeApproveService.list(queryWrapper);
233 if(CollectionUtils.isEmpty(approveList)){ 234 if(CollectionUtils.isEmpty(approveList)){
234 return new ArrayList<>(); 235 return new ArrayList<>();
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!