查看销售本人的合同
This commit is contained in:
parent
b3bcd2379f
commit
6849120f55
@ -84,4 +84,10 @@ public class PsContractBusinessVo implements Serializable {
|
||||
*/
|
||||
private String isOld;
|
||||
|
||||
/**
|
||||
* 签约日期
|
||||
*/
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
private Date applyDate;
|
||||
|
||||
}
|
||||
|
@ -31,19 +31,19 @@ public interface PsContractInfoMapper extends BaseMapperPlus<PsContractInfo, PsC
|
||||
|
||||
@DataPermission({
|
||||
@DataColumn(key = "deptName", value = "info.create_dept"),
|
||||
@DataColumn(key = "userName", value = "info.create_by")
|
||||
@DataColumn(key = "userName", value = "info.custom_manager")
|
||||
})
|
||||
Page<PsContractInfoVo> selectPageContractList(@Param("page") Page<PsContractInfo> page, @Param(Constants.WRAPPER) Wrapper<PsContractInfo> queryWrapper);
|
||||
|
||||
@DataPermission({
|
||||
@DataColumn(key = "deptName", value = "info.create_dept"),
|
||||
@DataColumn(key = "userName", value = "info.create_by")
|
||||
@DataColumn(key = "userName", value = "info.custom_manager")
|
||||
})
|
||||
Page<PsContractInfoVo> selectPageContractListByCustomId(@Param("page") Page<PsContractInfo> page, @Param("customId") Long customId);
|
||||
|
||||
@DataPermission({
|
||||
@DataColumn(key = "deptName", value = "info.create_dept"),
|
||||
@DataColumn(key = "userName", value = "info.create_by")
|
||||
@DataColumn(key = "userName", value = "info.custom_manager")
|
||||
})
|
||||
List<PsContractInfoVo> selectContractList(@Param(Constants.WRAPPER) Wrapper<PsContractInfo> queryWrapper);
|
||||
|
||||
|
@ -20,9 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
detail.business_project_label detail_business_project_label,
|
||||
detail.amount detail_amount,
|
||||
detail.amount_desc detail_amount_desc,
|
||||
detail.extent_info detail_extent_info
|
||||
detail.extent_info detail_extent_info,
|
||||
con.apply_date
|
||||
from ps_contract_business bus
|
||||
left join ps_contract_business_detail detail on bus.id = detail.business_id
|
||||
left join ps_contract_info con on con.contract_code = bus.contract_code
|
||||
where bus.del_flag = 0
|
||||
and (detail.del_flag = 0 or detail.del_flag is null)
|
||||
and bus.contract_code in
|
||||
@ -30,7 +32,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
#{code}
|
||||
</foreach>
|
||||
<if test="serviceCompanyId != null">
|
||||
and company_id = ${serviceCompanyId}
|
||||
and bus.company_id = ${serviceCompanyId}
|
||||
</if>
|
||||
|
||||
</select>
|
||||
|
@ -17,7 +17,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</collection>
|
||||
|
||||
<collection property="psTaskAppointVoList" javaType="ArrayList"
|
||||
column="main_id" ofType="com.pusong.business.domain.vo.PsTaskAppointVo"
|
||||
column="mainid" ofType="com.pusong.business.domain.vo.PsTaskAppointVo"
|
||||
select="queryByMainId" fetchType="eager">
|
||||
</collection>
|
||||
|
||||
@ -84,8 +84,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
select
|
||||
appo.executor as executors,
|
||||
appo.*,
|
||||
main.*,
|
||||
main.id main_id,
|
||||
main.id mainid,
|
||||
main.*,
|
||||
con.is_proxy con_is_proxy,
|
||||
con.custom_scene con_custom_scene,
|
||||
con.custom_manager con_custom_manager,
|
||||
|
Loading…
Reference in New Issue
Block a user