Merge pull request '日志明细公用接口调整' (#30) from yuqh into dev
Reviewed-on: http://192.168.2.237:3000/root/kangarooDataCenterV3/pulls/30
This commit is contained in:
commit
72ca970078
|
@ -67,10 +67,10 @@ public class IntegrationTaskLivingDetailsServiceImpl extends BaseService<Integra
|
|||
*/
|
||||
@Override
|
||||
public JsonResultEntity saveLogToSuccess(IntegrationTaskLivingDetailsEntity entity)throws Exception {
|
||||
entity.setId(String.valueOf(UUIDLong.longUUID()));
|
||||
checkDate(entity);
|
||||
entity.setNewState("Y");
|
||||
entity.setRepairPust("N");
|
||||
entity.setId(String.valueOf(UUIDLong.longUUID()));
|
||||
try {
|
||||
entity = integrationTaskLivingDetailsDao.saveSuccessLog(entity);
|
||||
return BaseResult.getSuccessMessageEntity(entity);
|
||||
|
@ -91,11 +91,11 @@ public class IntegrationTaskLivingDetailsServiceImpl extends BaseService<Integra
|
|||
*/
|
||||
@Override
|
||||
public JsonResultEntity saveLogToFail(IntegrationTaskLivingDetailsEntity entity)throws Exception {
|
||||
entity.setId(String.valueOf(UUIDLong.longUUID()));
|
||||
//验证必填字段如果不满足返回数据
|
||||
checkDate(entity);
|
||||
entity.setNewState("N");
|
||||
entity.setRepairPust("Y");
|
||||
entity.setId(String.valueOf(UUIDLong.longUUID()));
|
||||
try {
|
||||
entity = integrationTaskLivingDetailsDao.save(entity);
|
||||
return BaseResult.getSuccessMessageEntity(entity);
|
||||
|
|
Loading…
Reference in New Issue