|
@@ -135,7 +135,7 @@ public class CooperatorController {
|
|
|
String oldTemplateId = cooperatorInfo.getTemplateId();
|
|
|
String oldCooperatorNum = cooperatorInfo.getCooperatorNum();
|
|
|
|
|
|
- if(oldTemplateId!=req.getString("fieldTemplateId")) {
|
|
|
+ if(oldTemplateId!=req.getString("fieldTemplateId") && req.getString("fieldTemplateId")!="") {
|
|
|
cooperatorInfo.setTemplateId(req.getString("fieldTemplateId"));
|
|
|
List<CooperatorProduct> CooperatorProductList= CooperatorProductService.findCooperatorProductByNum(oldCooperatorNum);
|
|
|
for (int i=0;i<CooperatorProductList.size();i++) {
|