Commit f100f731 by huangZW

1111

parent b79a45f8
......@@ -18,7 +18,7 @@ public interface AuditApiService {
void refuse(String auditId,String auditReason);
int save(Integer auditType,String enterpriseId,String commitStaffId,String commitStoreId,String changeField,String oldValue,String newValue);
int save(Integer auditType,String wxEnterpriseId,String enterpriseId,String commitStaffId,String commitStoreId,String changeField,String oldValue,String newValue);
void editStoreInfo(String storeId,String changeField,String oldValue, String newValue);
......
......@@ -99,7 +99,7 @@ public class AuditApiServiceImpl implements AuditApiService{
auditMapper.updateByPrimaryKeySelective(tab);
}
@Override
public int save(Integer auditType, String enterpriseId,
public int save(Integer auditType,String wxEnterpriseId, String enterpriseId,
String commitStaffId, String commitStoreId, String changeField,
String oldValue, String newValue) {
TabHaobanStaff staff = staffMapper.selectByPrimaryKey(commitStaffId);
......@@ -118,6 +118,7 @@ public class AuditApiServiceImpl implements AuditApiService{
tab.setCommitStoreId(commitStoreId);
tab.setCommitTime(new Date());
tab.setCreateTime(new Date());
tab.setWxEnterpriseId(wxEnterpriseId);
tab.setEnterpriseId(enterpriseId);
tab.setNewValue(newValue);
tab.setOldValue(oldValue);
......
......@@ -252,7 +252,7 @@ public class StoreController extends WebBaseController{
if(auditFlag == 1){
//要审核
logger.info("==================11111");
int i = auditApiService.save(1, enterpriseId, staffId, storeId, changeField, oldValue, newValue);
int i = auditApiService.save(1,wxEnterpriseId, enterpriseId, staffId, storeId, changeField, oldValue, newValue);
}else{
logger.info("==================22222");
auditApiService.editStoreInfo(storeId, changeField, oldValue, newValue);
......
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