...
|
...
|
@@ -162,9 +162,7 @@ public class GDTServiceImpl implements MainUnionService { |
|
|
unionLogs.setCreateTime(DateUtil.getCurrentTimeSecond());
|
|
|
unionLogs.setUpdateTime(DateUtil.getCurrentTimeSecond());
|
|
|
response = new UnionResponseBO(false, msg);
|
|
|
if(logs!= null&&logs.getIsActivate() ==0){
|
|
|
logs.setUpdateTime(DateUtil.getCurrentTimeSecond());
|
|
|
logs.setIsActivate((byte)0);
|
|
|
if(logs!= null){
|
|
|
unionLogs.setId(logs.getId());
|
|
|
unionLogsDAO.updateByPrimaryKey(unionLogs);
|
|
|
}else{
|
...
|
...
|
@@ -177,9 +175,7 @@ public class GDTServiceImpl implements MainUnionService { |
|
|
unionLogs.setCreateTime(DateUtil.getCurrentTimeSecond());
|
|
|
unionLogs.setUpdateTime(DateUtil.getCurrentTimeSecond());
|
|
|
response = new UnionResponseBO(false, "激活失败");
|
|
|
if(logs!=null&&logs.getIsActivate() ==0){
|
|
|
logs.setUpdateTime(DateUtil.getCurrentTimeSecond());
|
|
|
logs.setIsActivate((byte)1);
|
|
|
if(logs!=null){
|
|
|
unionLogs.setId(logs.getId());
|
|
|
unionLogsDAO.updateByPrimaryKey(unionLogs);
|
|
|
}else{
|
...
|
...
|
|