关键字转url,来函为null的情况修复

This commit is contained in:
duandongmei
2019-01-27 13:39:07 +06:00
parent 1c642b281e
commit 560a6530dd

View File

@@ -227,6 +227,7 @@ public class WebsiteCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo> {
entity.setCompileId(compileId);
entity.setCreateTime(new Date());
entity.setCreatorId(entity.getCurrentUser().getId());
entity.setRequestId(StringUtil.isEmpty(entity.getRequestId()) ? 0:entity.getRequestId());
websiteCfgDao.saveCfgIndex(entity);
if(entity.getIpPortList()!=null){
for(IpPortCfg cfg:entity.getIpPortList()){