Browse Source

[feat]

销售管理 客户资料 客户基本信息
修改客户基本信息页面,新增作废url、恢复url定义;
修改客户基本信息mapper.java中作废方法返回值为int;
修改service接口作废方法,获得客户信息对象的方法由cancel改为select;
dev
王晓迪 4 months ago
parent
commit
5334d71846
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysCustomerMapper.java
  2. 2
      ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java
  3. 2
      ruoyi-admin/src/main/resources/templates/system/customer/customer.html

2
ruoyi-admin/src/main/java/com/ruoyi/system/mapper/SysCustomerMapper.java

@ -86,7 +86,7 @@ public interface SysCustomerMapper
int restoreSysCustomerById(Long id);
SysCustomerVo cancelSysCustomerById(Long id);
int cancelSysCustomerById(Long id);
SysCustomerVo selectSysCustomerByCustomer(SysCustomerVo sysCustomerVo);
}

2
ruoyi-admin/src/main/java/com/ruoyi/system/service/impl/SysCustomerServiceImpl.java

@ -319,7 +319,7 @@ public class SysCustomerServiceImpl implements ISysCustomerService
@Override
@Transactional(rollbackFor = Exception.class)
public ProcessInstance cancelSysCustomerById(Long id) {
SysCustomerVo sysCustomerVo = sysCustomerMapper.cancelSysCustomerById(id);
SysCustomerVo sysCustomerVo = sysCustomerMapper.selectSysCustomerById(id);
// 审核状态-待审核
sysCustomerVo.setAuditStatus("0");
SysUser user = ShiroUtils.getSysUser();

2
ruoyi-admin/src/main/resources/templates/system/customer/customer.html

@ -414,6 +414,8 @@
removeUrl: prefix + "/remove",
exportUrl: prefix + "/export",
detailUrl: prefix + "/detail/{id}",
cancelUrl: prefix + "/cancel/{id}",
restoreUrl: prefix + "/restore/{id}",
modalName: "客户基本信息",
fixedColumns:true,
fixedRightNumber:1,

Loading…
Cancel
Save