wushunjie
杜函宇 8 months ago
parent 801832e07f
commit 20ec00d5e7

@ -33,6 +33,13 @@ public class JSmartReminders extends BaseInfoEntity {
@ApiModelProperty("规则名称")
private String rulesName;
/**
*
*/
@ApiModelProperty("企业名称")
private String qymc;
/**
* 1. 2
*/

@ -6,7 +6,9 @@
<select id="page" resultType="com.ruoyi.jjh.ent.entity.JSmartReminders">
select a.*,jp.project_small_type as projectSmallType
select a.*,
jp.project_small_type as projectSmallType,
jp.declare_unit as qymc
from j_smart_reminders a
left join j_project jp on a.project_id = jp.id
<where>
@ -21,9 +23,11 @@
</select>
<select id="selectOneSmart" resultType="com.ruoyi.jjh.ent.entity.JSmartReminders">
select a.*,jp.project_small_type as projectSmallType
select a.*,
jp.project_small_type as projectSmallType,
jp.declare_unit as qymc
from j_smart_reminders a
left join j_project jp on a.project_id = jp.id
left join j_project jp on a.project_id = jp.id
where a.id=#{id}
</select>
</mapper>

Loading…
Cancel
Save