e88641da by xiaojie

【数据资产】

1、认证变更跨平台审批
1 parent dc22841f
......@@ -228,8 +228,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
public List<ChangeInfoVO> beforeChangeList(Date createTime){
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
LambdaQueryWrapper<MfEnterpriseChangeApprove> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.apply("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s') = " + simpleDateFormat.format(createTime));
queryWrapper.orderByDesc(MfEnterpriseChangeApprove::getCreateTime);
queryWrapper.last("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s') = " + simpleDateFormat.format(createTime));
List<MfEnterpriseChangeApprove> approveList = mfEnterpriseChangeApproveService.list(queryWrapper);
if(CollectionUtils.isEmpty(approveList)){
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!