bug修复

pull/5/head
liujun 2023-12-25 18:17:09 +08:00
parent 4f60d4f571
commit 797a8c0586
6 changed files with 35 additions and 3 deletions

View File

@ -148,4 +148,20 @@ public class FlowTrainController extends BaseController {
map.put("result", "success"); map.put("result", "success");
return map; return map;
} }
@RequestMapping(value = "/oldBatchList")
@ResponseBody
public Object oldBatchList(Page page) throws Exception {
Map<String, Object> map = new HashMap<String, Object>();
PageData pd = this.getPageData();
pd.put("CORPINFO_ID", Jurisdiction.getCORPINFO_ID());
String KEYWORDS = pd.getString("KEYWORDS"); //关键词检索条件
if (Tools.notEmpty(KEYWORDS)) pd.put("KEYWORDS", KEYWORDS.trim());
page.setPd(pd);
List<PageData> varList = trainingbatchService.oldBatchList(page); //列出TrainingBatch列表
map.put("varList", varList);
map.put("page", page);
map.put("result", "success");
return map;
}
} }

View File

@ -76,5 +76,7 @@ public interface TrainingBatchMapper{
void graduation(PageData condition); void graduation(PageData condition);
List<PageData> findByUserId(PageData condition); List<PageData> findByUserId(PageData condition);
List<PageData> oldlistPage(Page page);
} }

View File

@ -89,5 +89,7 @@ public interface TrainingBatchService{
void saveFlow(PageData request) throws Exception; void saveFlow(PageData request) throws Exception;
List<PageData> findByUserId(PageData condition) throws Exception; List<PageData> findByUserId(PageData condition) throws Exception;
List<PageData> oldBatchList(Page page) throws Exception;
} }

View File

@ -407,5 +407,10 @@ public class TrainingBatchServiceImpl implements TrainingBatchService {
public List<PageData> findByUserId(PageData condition) throws Exception { public List<PageData> findByUserId(PageData condition) throws Exception {
return trainingbatchMapper.findByUserId(condition); return trainingbatchMapper.findByUserId(condition);
} }
@Override
public List<PageData> oldBatchList(Page page) throws Exception {
return trainingbatchMapper.oldlistPage(page);
}
} }

View File

@ -2,9 +2,9 @@ spring.application.name=qa-prevention-gwj
server.port=8091 server.port=8091
#?? #??
#spring.profiles.active=local spring.profiles.active=local
#部署31时使用 #<EFBFBD><EFBFBD><EFBFBD><EFBFBD>31ʱʹ<EFBFBD><EFBFBD>
spring.profiles.active=dev #spring.profiles.active=dev
#?? #??
#spring.profiles.active=master #spring.profiles.active=master

View File

@ -280,6 +280,7 @@
a.TRAIN_USERS_ID, a.TRAIN_USERS_ID,
a.STEP_STATUS, a.STEP_STATUS,
a.USER_ID, a.USER_ID,
a.USER_ID as XGF_USER_ID,
a.SUPERVISION_STATE, a.SUPERVISION_STATE,
a.MANAGER_STATE, a.MANAGER_STATE,
a.TERRITORIALITY_STATE, a.TERRITORIALITY_STATE,
@ -378,4 +379,10 @@
and USER_ID = #{USER_ID} and USER_ID = #{USER_ID}
order by b.CREATTIME desc; order by b.CREATTIME desc;
</select> </select>
<select id="oldlistPage" resultType="com.zcloud.entity.PageData">
select *
from xgf_training_batch a
where a.IS_DELETE = '0'
and a.CORPINFO_ID = #{pd.CORPINFO_ID}
</select>
</mapper> </mapper>