|
@@ -57,9 +57,6 @@ public class ApplyServiceImpl implements IApplyService {
|
|
|
public Result saveNewMission(JSONArray applyJa) {
|
|
|
for(int a=0;a<applyJa.size();a++){
|
|
|
JSONObject applyJo = applyJa.getJSONObject(a);
|
|
|
-// System.out.println("applyJo>>"+applyJo);
|
|
|
- System.out.println("orgName>>"+applyJo.getString("orgName"));
|
|
|
-
|
|
|
EtApplyEntity applyEntity = new EtApplyEntity();
|
|
|
applyEntity.setMissionProcessor(applyJo.getString("missionProcessor"));
|
|
|
applyEntity.setOrgId(applyJo.getString("orgId"));
|
|
@@ -76,8 +73,8 @@ public class ApplyServiceImpl implements IApplyService {
|
|
|
applyEntity.setApplyRegionName(applyJo.getString("applyRegionName"));
|
|
|
applyEntity.setAnimalType(applyJo.getString("animalType"));
|
|
|
applyEntity.setAnimalTypeName(applyJo.getString("animalTypeName"));
|
|
|
-// applyEntity.setSetDownState(0);
|
|
|
-// applyEntity.setDeliverState(0);
|
|
|
+ applyEntity.setSetDownState(0);
|
|
|
+ applyEntity.setDeliverState(0);
|
|
|
applyRepo.saveAndFlush(applyEntity);
|
|
|
}
|
|
|
return new Result(ResultCode.SUCCESS, Const.SAVE_NEW_MESSION);
|