|
|
|
|
@ -136,7 +136,7 @@ public class CraftAbilityController extends BladeController { |
|
|
|
|
QueryWrapper<CraftAbilityEntity> qw = Condition.getQueryWrapper(craftAbility, CraftAbilityEntity.class); |
|
|
|
|
// 名称
|
|
|
|
|
qw.like(craftAbility.containsKey("caName"), "CA_NAME", Func.toStr(craftAbility.get("caName"))); |
|
|
|
|
qw.eq(craftAbility.containsKey("caCode"), "CA_CODE", Func.toStr(craftAbility.get("caCode"))); |
|
|
|
|
qw.like(craftAbility.containsKey("caCode"), "CA_CODE", Func.toStr(craftAbility.get("caCode"))); |
|
|
|
|
qw.eq(craftAbility.containsKey("wtId"), "WT_ID", Func.toInt(craftAbility.get("wtId"))); |
|
|
|
|
// qw.eq(craftAbility.containsKey("platingSmall"), "plating_small", Func.toStr(craftAbility.get("platingSmall")));
|
|
|
|
|
if(null != startTime && null != endTime){ |
|
|
|
|
@ -250,7 +250,7 @@ public class CraftAbilityController extends BladeController { |
|
|
|
|
} |
|
|
|
|
for(Long id : ids){ |
|
|
|
|
CraftAbilityEntity one = craftAbilityService.getById(id); |
|
|
|
|
one.setWtId(mergeOne.getWtId()); |
|
|
|
|
one.setWxLimit(mergeOne.getWxLimit()); |
|
|
|
|
craftAbilityService.updateById(one); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -278,7 +278,11 @@ public class CraftAbilityController extends BladeController { |
|
|
|
|
CraftAbilityEntity notice = BeanUtil.copy(noticeExcel, CraftAbilityEntity.class); |
|
|
|
|
if(noticeExcel.getWtName() != null && !"".equals(noticeExcel.getWtName())){ |
|
|
|
|
String category = DictCache.getKey("ProcessCapabilityType", noticeExcel.getWtName()); |
|
|
|
|
notice.setWtId(Long.valueOf(category)); |
|
|
|
|
notice.setWtId(category); |
|
|
|
|
} |
|
|
|
|
if(noticeExcel.getWxLimitName() != null && !"".equals(noticeExcel.getWxLimitName())){ |
|
|
|
|
String category = DictCache.getKey("WxLimit", noticeExcel.getWxLimitName()); |
|
|
|
|
notice.setWxLimit(category); |
|
|
|
|
} |
|
|
|
|
noticeList.add(notice); |
|
|
|
|
}); |
|
|
|
|
|