Commit 0ef907ae by 宋祥

Merge branch 'dev-sx' of http://129.211.46.84:8800/platform/hp-smart into dev

parents 39faf401 329af393
......@@ -6,6 +6,7 @@ import com.baosight.hpjx.core.dao.DaoUtils;
import com.baosight.hpjx.core.utils.Iplat4jUtils;
import com.baosight.hpjx.hp.dm.domain.HPDM099;
import com.baosight.hpjx.hp.xs.domain.HPXS007A;
import com.baosight.hpjx.util.AssertUtils;
import com.baosight.hpjx.util.LogUtils;
import com.baosight.hpjx.util.MapUtils;
import com.baosight.iplat4j.core.ProjectInfo;
......@@ -65,6 +66,7 @@ public class ServiceHPDM099 extends ServiceEPBase {
public EiInfo upload(EiInfo inInfo) {
try {
HPDM099 fDm099 = MapUtils.toDaoEPBase(inInfo, HPDM099.class);
AssertUtils.isEmpty(fDm099.getDocId(), "文件ID不能为空");
fDm099.setDeleteFlag(CommonConstant.YesNo.NO_0);
DaoUtils.insert(HPDM099.INSERT, fDm099);
inInfo.setStatus(EiConstant.STATUS_DEFAULT);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment