检查记录记录用户id

This commit is contained in:
韩国东 2022-12-14 13:58:17 +08:00
parent ee27b103d1
commit 1223757e67

View File

@ -935,10 +935,10 @@ public class MinWorkController extends BaseController{
bookEntCheck.setCheckuniy(sysUser.getSysunitorentid()); bookEntCheck.setCheckuniy(sysUser.getSysunitorentid());
bookEntCheck.setZhifaren(sysUser.getChinaname()); bookEntCheck.setZhifaren(sysUser.getChinaname());
bookEntCheck.setChecktype(checkType); bookEntCheck.setChecktype(checkType);
bookEntCheck.setModifiedby(sysUser.getChinaname()); bookEntCheck.setModifiedby(sysUser.getSysuserid());
bookEntCheck.setRemark(remark); bookEntCheck.setRemark(remark);
bookEntCheck.setModifiedon(new Date()); bookEntCheck.setModifiedon(new Date());
bookEntCheck.setCreatedby(sysUser.getChinaname()); bookEntCheck.setCreatedby(sysUser.getSysuserid());
bookEntCheck.setCreatedon(new Date()); bookEntCheck.setCreatedon(new Date());
bookEntCheck.setLongitude(new BigDecimal(longitude)); bookEntCheck.setLongitude(new BigDecimal(longitude));
bookEntCheck.setLatitude(new BigDecimal(latitude)); bookEntCheck.setLatitude(new BigDecimal(latitude));
@ -1087,8 +1087,8 @@ public class MinWorkController extends BaseController{
chkPerson.setIssign(2+""); chkPerson.setIssign(2+"");
} }
chkPerson.setSysuserid(str); chkPerson.setSysuserid(str);
chkPerson.setModifiedby(sysUser.getChinaname()); chkPerson.setModifiedby(sysUser.getSysuserid());
chkPerson.setCreatedby(sysUser.getChinaname()); chkPerson.setCreatedby(sysUser.getSysuserid());
chkPeople.add(chkPerson); chkPeople.add(chkPerson);
} }
if(null != chkPeople && chkPeople.size() > 0){ if(null != chkPeople && chkPeople.size() > 0){
@ -1162,9 +1162,9 @@ public class MinWorkController extends BaseController{
checkDetail.setIsnotice(billDetail.getIsnotice()); checkDetail.setIsnotice(billDetail.getIsnotice());
checkDetail.setIsused(billDetail.getIsused()); checkDetail.setIsused(billDetail.getIsused());
checkDetail.setHazardtype(billDetail.getHazardtype()); checkDetail.setHazardtype(billDetail.getHazardtype());
checkDetail.setCreatedby(sysUser.getChinaname()); checkDetail.setCreatedby(sysUser.getSysuserid());
checkDetail.setCreatedon(new Date()); checkDetail.setCreatedon(new Date());
checkDetail.setModifiedby(sysUser.getChinaname()); checkDetail.setModifiedby(sysUser.getSysuserid());
checkDetail.setModifiedon(new Date()); checkDetail.setModifiedon(new Date());
checkDetail.setIstotrouble(""); checkDetail.setIstotrouble("");
checkDetail.setIsnotice(""); checkDetail.setIsnotice("");
@ -1222,9 +1222,9 @@ public class MinWorkController extends BaseController{
bookEntHT.setHtlevel(htlevel); bookEntHT.setHtlevel(htlevel);
// bookEntHT.setGovdocno(""); // bookEntHT.setGovdocno("");
bookEntHT.setCreatedby(sysUser.getChinaname()); bookEntHT.setCreatedby(sysUser.getSysuserid());
bookEntHT.setCreatedon(new Date()); bookEntHT.setCreatedon(new Date());
bookEntHT.setModifiedby(sysUser.getChinaname()); bookEntHT.setModifiedby(sysUser.getSysuserid());
bookEntHT.setModifiedon(new Date()); bookEntHT.setModifiedon(new Date());
bookEntHTs.add(bookEntHT); bookEntHTs.add(bookEntHT);
@ -1233,8 +1233,8 @@ public class MinWorkController extends BaseController{
relation.setBookenthtid(bookEntHTId); relation.setBookenthtid(bookEntHTId);
relation.setBookentcheckdetailid(checkDetail.getBookentcheckdetailid()); relation.setBookentcheckdetailid(checkDetail.getBookentcheckdetailid());
relation.setCreatedon(new Date()); relation.setCreatedon(new Date());
relation.setCreatedby(sysUser.getChinaname()); relation.setCreatedby(sysUser.getSysuserid());
relation.setModifiedby(sysUser.getChinaname()); relation.setModifiedby(sysUser.getSysuserid());
relation.setModifiedon(new Date()); relation.setModifiedon(new Date());
relations.add(relation); relations.add(relation);
} }
@ -1323,9 +1323,9 @@ public class MinWorkController extends BaseController{
bookEntHT.setHtstate("整改中"); bookEntHT.setHtstate("整改中");
bookEntHT.setLawState(1); bookEntHT.setLawState(1);
bookEntHT.setTalkState(1); bookEntHT.setTalkState(1);
bookEntHT.setCreatedby(sysUser.getChinaname()); bookEntHT.setCreatedby(sysUser.getSysuserid());
bookEntHT.setCreatedon(new Date()); bookEntHT.setCreatedon(new Date());
bookEntHT.setModifiedby(sysUser.getChinaname()); bookEntHT.setModifiedby(sysUser.getSysuserid());
bookEntHT.setModifiedon(new Date()); bookEntHT.setModifiedon(new Date());
} }
bookEntHTMapper.insertList(bookEntHTs); bookEntHTMapper.insertList(bookEntHTs);