|
@@ -1,15 +1,18 @@
|
|
|
package com.jtgh.yjpt.webService.jyrjcxx.ryqk;
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
|
|
|
import javax.jws.HandlerChain;
|
|
|
import javax.jws.WebService;
|
|
|
+import javax.persistence.criteria.Predicate;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import com.jtgh.yjpt.common.Constants;
|
|
|
import com.jtgh.yjpt.common.GlobalData;
|
|
|
+import com.jtgh.yjpt.entity.cbzyhwsb.BzhwzjxxEntity;
|
|
|
import com.jtgh.yjpt.entity.jyrxxgl.RyjbxxEntity;
|
|
|
import com.jtgh.yjpt.entity.jyrxxgl.RyjbxxZSEntity;
|
|
|
import com.jtgh.yjpt.service.jyrxxgl.RyjbxxService;
|
|
@@ -44,17 +47,18 @@ public class RyqkxxWebService {
|
|
|
/**
|
|
|
* 外部调用
|
|
|
*/
|
|
|
+ @SuppressWarnings("unchecked")
|
|
|
public RyjbxxEntity saveData(RyjbxxEntity ryjbxxEntity,
|
|
|
List<RyjbxxZSEntity> zsList) {
|
|
|
ryjbxxEntity.setAddUser(GlobalData.TB_USER);
|
|
|
ryjbxxEntity.setUpdateUser(GlobalData.TB_USER);
|
|
|
ryjbxxEntity.setTbzt(Constants.NO);
|
|
|
for(RyjbxxZSEntity entity:zsList){
|
|
|
- entity.setAddUser(GlobalData.TB_USER);
|
|
|
+ entity.setAddUser(GlobalData.TB_USER);
|
|
|
entity.setUpdateUser(GlobalData.TB_USER);
|
|
|
entity.setTbzt(Constants.NO);
|
|
|
}
|
|
|
- service.save(ryjbxxEntity, zsList, null,"tb");
|
|
|
+ service.save(ryjbxxEntity, zsList,new ArrayList<RyjbxxZSEntity>(),"tb");
|
|
|
return service.save(ryjbxxEntity);
|
|
|
}
|
|
|
/**
|