|
@@ -138,14 +138,16 @@ public class QyRecordController {
|
|
|
item.setStatus(devDict.getDictLabel());
|
|
|
}
|
|
|
//申报类型
|
|
|
-// String applyType = item.getApplyType();
|
|
|
-// parentId = "1808704091340812290";
|
|
|
-// devDict = devDictService.getOne(new QueryWrapper<DevDict>().checkSqlInjection().lambda()
|
|
|
-// .eq(DevDict::getParentId, parentId)
|
|
|
-// .eq(DevDict::getDictValue,applyType));
|
|
|
-// if (devDict != null){
|
|
|
-// item.setApplyType(devDict.getDictLabel());
|
|
|
-// }
|
|
|
+ String applyType = item.getApplyType();
|
|
|
+ parentId = "1808704091340812290";
|
|
|
+ devDict = devDictService.getOne(new QueryWrapper<DevDict>().checkSqlInjection().lambda()
|
|
|
+ .eq(DevDict::getParentId, parentId)
|
|
|
+ .eq(DevDict::getDictValue,applyType));
|
|
|
+ if (devDict != null){
|
|
|
+ item.setApplyType(devDict.getDictLabel());
|
|
|
+ }else {
|
|
|
+ item.setApplyType("备案申请");
|
|
|
+ }
|
|
|
//备案类型
|
|
|
String baType = item.getBaType();
|
|
|
parentId = "1808704091340812290";
|