dc22841f by xiaojie

【数据资产】

1、认证变更跨平台审批
1 parent 9615dffb
......@@ -47,6 +47,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.function.Function;
import java.util.stream.Collectors;
......@@ -225,8 +226,9 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
@Override
public List<ChangeInfoVO> beforeChangeList(Date createTime){
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
LambdaQueryWrapper<MfEnterpriseChangeApprove> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(MfEnterpriseChangeApprove::getCreateTime, createTime);
queryWrapper.apply("DATE_FORMAT(create_time, '%Y-%m-%d %H:%i:%s') = " + simpleDateFormat.format(createTime));
queryWrapper.orderByDesc(MfEnterpriseChangeApprove::getCreateTime);
List<MfEnterpriseChangeApprove> approveList = mfEnterpriseChangeApproveService.list(queryWrapper);
if(CollectionUtils.isEmpty(approveList)){
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!