Commit 301f7cd9 authored by zhangjianqian's avatar zhangjianqian

修改企业id

parent 58648fd5
...@@ -61,7 +61,7 @@ public class TEventReceive extends BaseEntity ...@@ -61,7 +61,7 @@ public class TEventReceive extends BaseEntity
/** 指派公司id */ /** 指派公司id */
@Excel(name = "指派公司id") @Excel(name = "指派公司id")
private String enterpriseId; private Integer enterpriseId;
/** 指派公司名称 */ /** 指派公司名称 */
@Excel(name = "指派公司名称") @Excel(name = "指派公司名称")
...@@ -183,12 +183,12 @@ public class TEventReceive extends BaseEntity ...@@ -183,12 +183,12 @@ public class TEventReceive extends BaseEntity
{ {
return describe; return describe;
} }
public void setEnterpriseId(String enterpriseId) public void setEnterpriseId(Integer enterpriseId)
{ {
this.enterpriseId = enterpriseId; this.enterpriseId = enterpriseId;
} }
public String getEnterpriseId() public Integer getEnterpriseId()
{ {
return enterpriseId; return enterpriseId;
} }
......
...@@ -53,6 +53,9 @@ public class TEventReceiveServiceImpl implements ITEventReceiveService ...@@ -53,6 +53,9 @@ public class TEventReceiveServiceImpl implements ITEventReceiveService
@Override @Override
public int insertTEventReceive(TEventReceive tEventReceive) public int insertTEventReceive(TEventReceive tEventReceive)
{ {
if(tEventReceive.getEnterpriseId()!=null){
tEventReceive.setStatus(2);
}
tEventReceive.setCreateTime(DateUtils.getNowDate()); tEventReceive.setCreateTime(DateUtils.getNowDate());
return tEventReceiveMapper.insertTEventReceive(tEventReceive); return tEventReceiveMapper.insertTEventReceive(tEventReceive);
} }
......
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