修复健康评估弹窗
This commit is contained in:
@ -22,6 +22,8 @@ public interface SysCustomerPhysicalSignsMapper
|
||||
*/
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsById(Long id);
|
||||
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsByCusId(Long id);
|
||||
|
||||
/**
|
||||
* 新增客户体征信息
|
||||
*
|
||||
|
@ -22,6 +22,8 @@ public interface ISysCustomerPhysicalSignsService {
|
||||
*/
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsById(Long id);
|
||||
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsByCusId(Long id);
|
||||
|
||||
/**
|
||||
* 新增客户体征信息
|
||||
*
|
||||
|
@ -41,6 +41,11 @@ public class SysCustomerPhysicalSignsServiceImpl implements ISysCustomerPhysical
|
||||
return sysCustomerPhysicalSignsMapper.selectSysCustomerPhysicalSignsById(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysCustomerPhysicalSigns selectSysCustomerPhysicalSignsByCusId(Long cusId) {
|
||||
return sysCustomerPhysicalSignsMapper.selectSysCustomerPhysicalSignsByCusId(cusId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增客户体征信息
|
||||
*
|
||||
|
@ -67,6 +67,10 @@
|
||||
<include refid="selectSysCustomerPhysicalSigns"/> where scps.del_flag = 0 and sc.del_flag = 0 and scps.id = #{id}
|
||||
</select>
|
||||
|
||||
<select id="selectSysCustomerPhysicalSignsByCusId" parameterType="Long" resultMap="SysCustomerSignResult">
|
||||
<include refid="selectSysCustomerPhysicalSigns"/> where scps.del_flag = 0 and sc.del_flag = 0 and scps.customer_id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertSysCustomerPhysicalSigns" parameterType="SysCustomerPhysicalSigns" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into sys_customer_physical_signs
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
|
Reference in New Issue
Block a user