Commit 84dc2fd7 by huangZW

11

parent a7b080f2
...@@ -186,6 +186,9 @@ public class AuditApiServiceImpl implements AuditApiService{ ...@@ -186,6 +186,9 @@ public class AuditApiServiceImpl implements AuditApiService{
}else if(StoreFieldEnum.STORE_NAME.getValue().equals(changeField)){ }else if(StoreFieldEnum.STORE_NAME.getValue().equals(changeField)){
//门店名字 //门店名字
store.setStoreName(newValue); store.setStoreName(newValue);
TabHaobanDepartment tab = departmentMapper.getByRelatedId(store.getStoreId());
tab.setDepartmentName(newValue);
departmentMapper.updateByPrimaryKey(tab);
}else if(StoreFieldEnum.STORE_IMAG.getValue().equals(changeField)){ }else if(StoreFieldEnum.STORE_IMAG.getValue().equals(changeField)){
//门店图片 //门店图片
} }
......
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from tab_haoban_department from tab_haoban_department
where department_name like contact('%',#{departmentName,jdbcType=VARCHAR},'%') where department_name like CONCAT('%',#{departmentName,jdbcType=VARCHAR},'%')
and status_flag = 1 and status_flag = 1
and is_store =1 and is_store =1
</select> </select>
......
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