|
|
|
@@ -10,6 +10,7 @@ import com.iformall.enums.EnumWeappReleaseStatus; |
|
|
|
import com.iformall.mapper.WxAuthorizerInfoMapper; |
|
|
|
import com.iformall.mapper.WxWeappCodeStatusMapper; |
|
|
|
import com.iformall.service.WxWeappCodeStatusService; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
@@ -72,7 +73,6 @@ public class WxWeappCodeStatusServiceImpl implements WxWeappCodeStatusService { |
|
|
|
@Override |
|
|
|
public void updateCodeCommitStatus(WxWeappCodeStatus record) { |
|
|
|
Date curDate = new Date(); |
|
|
|
record.setCodeTime(curDate); |
|
|
|
record.setUpdateTime(curDate); |
|
|
|
wxWeappCodeStatusMapper.updateByPrimaryKey(record); |
|
|
|
} |
|
|
|
@@ -83,6 +83,9 @@ public class WxWeappCodeStatusServiceImpl implements WxWeappCodeStatusService { |
|
|
|
WxWeappCodeStatus updateRecord = new WxWeappCodeStatus(); |
|
|
|
updateRecord.setId(record.getId()); |
|
|
|
updateRecord.setAuditStatus(record.getAuditStatus()); |
|
|
|
if (StringUtils.isNotBlank(record.getAuditErrCode())) { |
|
|
|
updateRecord.setAuditErrCode(record.getAuditErrCode()); |
|
|
|
} |
|
|
|
updateRecord.setAuditTime(curDate); |
|
|
|
updateRecord.setUpdateTime(curDate); |
|
|
|
wxWeappCodeStatusMapper.updateByPrimaryKeySelective(updateRecord); |
|
|
|
@@ -94,6 +97,9 @@ public class WxWeappCodeStatusServiceImpl implements WxWeappCodeStatusService { |
|
|
|
WxWeappCodeStatus updateRecord = new WxWeappCodeStatus(); |
|
|
|
updateRecord.setId(record.getId()); |
|
|
|
updateRecord.setReleaseStatus(record.getReleaseStatus()); |
|
|
|
if (StringUtils.isNotBlank(record.getReleaseErrCode())) { |
|
|
|
updateRecord.setReleaseErrCode(record.getReleaseErrCode()); |
|
|
|
} |
|
|
|
updateRecord.setReleaseTime(curDate); |
|
|
|
updateRecord.setUpdateTime(curDate); |
|
|
|
wxWeappCodeStatusMapper.updateByPrimaryKeySelective(updateRecord); |
|
|
|
|