|
@@ -65,7 +65,6 @@ public class ProWorkLogicServiceImpl extends ServiceImpl<ProWorkLogicMapper, Pro
|
|
|
@Override
|
|
|
public boolean edit(ProWorkLogicAddReqDTO reqDTO) {
|
|
|
ProWorkLogic proWorkLogic = new ProWorkLogic(reqDTO);
|
|
|
- proWorkLogic.setCreateTime(null);
|
|
|
updateById(proWorkLogic);
|
|
|
//删除子表
|
|
|
deletChildren(reqDTO.getId());
|
|
@@ -101,6 +100,7 @@ public class ProWorkLogicServiceImpl extends ServiceImpl<ProWorkLogicMapper, Pro
|
|
|
QueryWrapper<ProWorkLogicContent> queryWrapper = new QueryWrapper();
|
|
|
queryWrapper.eq("del_flag", "0");
|
|
|
queryWrapper.eq("logic_id", id);
|
|
|
+ queryWrapper.orderByAsc("createTime");
|
|
|
List<ProWorkLogicContent> list = proWorkLogicContentService.list(queryWrapper);
|
|
|
List<ProWorkLogicContentListRespDTO> contentListRespDTOS = Lists.newArrayList();
|
|
|
for(ProWorkLogicContent proWorkLogicContent : list){
|