| | |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField(exist = false) |
| | | private String year; |
| | | |
| | | } |
| | |
| | | @TableField(exist = false) |
| | | private List<ContractReviewMess> reviewMesses; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField(exist = false) |
| | | private String year; |
| | | } |
| | |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField(exist = false) |
| | | private String year; |
| | | |
| | | } |
| | |
| | | |
| | | @TableField(exist = false) |
| | | private List<CustomerRecordNeed> customerRecordNeeds; |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | |
| | | } |
| | |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty("文件借阅复制申请容表") |
| | | private List<DocumentBorrowCopyRecord> documentBorrowCopyRecordList; |
| | |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | @ApiModelProperty("发放表") |
| | | @TableField(exist = false) |
| | | private List<DocumentChangesInvalidatedIssue> documentChangesInvalidatedIssueList; |
| | |
| | | @TableField("create_by") |
| | | private String createBy; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | @ApiModelProperty("更新时间") |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | @TableField(exist = false) |
| | | @ApiModelProperty("文件发放回收内容表") |
| | |
| | | @TableField("update_by") |
| | | private String updateBy; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | |
| | |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField(exist = false) |
| | | private String year; |
| | | |
| | | } |
| | |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | |
| | | |
| | | |
| | |
| | | @TableField("update_time") |
| | | private LocalDateTime updateTime; |
| | | |
| | | |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | | } |
| | |
| | | @TableField("status") |
| | | private Integer status; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @TableField(exist = false) |
| | | private String year; |
| | | |
| | | |
| | | @ApiModelProperty("删除标志(0代表存在 1代表删除)") |
| | | private Integer delFlag; |
| | | } |
| | |
| | | <if test="companyId!=null"> |
| | | and cl.company_id = #{companyId} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | AND DATE_FORMAT(cl.sign_date, '%Y') = #{year} |
| | | </if> |
| | | ORDER BY |
| | | cl.create_time DESC |
| | | </select> |
| | |
| | | <if test="type!=null"> |
| | | and cr.type = #{type} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | AND DATE_FORMAT(cr.record_time, '%Y') = #{year} |
| | | </if> |
| | | ORDER BY |
| | | cr.create_time DESC |
| | | </select> |
| | |
| | | <if test="companyId!=null"> |
| | | and cc.company_id = #{companyId} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | AND DATE_FORMAT(cc.com_time, '%Y') = #{year} |
| | | </if> |
| | | ORDER BY |
| | | cc.create_time DESC |
| | | </select> |
| | |
| | | <if test="companyId!=null"> |
| | | and cr.company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null"> |
| | | and cr.year = #{year} |
| | | </if> |
| | | ORDER BY |
| | | cr.create_time DESC |
| | | </select> |
| | |
| | | <if test="companyId!=null "> |
| | | and company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null and year != '' "> |
| | | and year = #{year} |
| | | </if> |
| | | order by create_time desc |
| | | </select> |
| | | </mapper> |
| | |
| | | <if test="companyId!=null "> |
| | | and company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null and year != '' "> |
| | | and year = #{year} |
| | | </if> |
| | | order by create_time desc |
| | | </select> |
| | | </mapper> |
| | |
| | | <if test="companyId!=null "> |
| | | and company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null and year != '' "> |
| | | and year = #{year} |
| | | </if> |
| | | ORDER BY create_time desc |
| | | </select> |
| | | </mapper> |
| | |
| | | <if test="companyId!=null "> |
| | | and company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null and year != '' "> |
| | | and year = #{year} |
| | | </if> |
| | | |
| | | order by create_time desc |
| | | </select> |
| | | </mapper> |
| | |
| | | `create_by`, |
| | | `create_time`, |
| | | `update_by`, |
| | | `update_time` |
| | | `update_time`, |
| | | `year` |
| | | FROM |
| | | `item` |
| | | where del_flag = 1 |
| | | <if test="companyId!=null"> |
| | | and company_id = #{companyId} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | and year = #{year} |
| | | </if> |
| | | |
| | | </select> |
| | | <select id="selectItemListAll" resultType="com.gkhy.exam.system.domain.Item"> |
| | | SELECT |
| | |
| | | i.`create_by`, |
| | | i.`create_time`, |
| | | i.`update_by`, |
| | | i.`update_time` |
| | | i.`update_time`, |
| | | i.`year` |
| | | FROM |
| | | `item` i |
| | | LEFT JOIN item_user iu ON i.id = iu.item_id |
| | |
| | | <if test="userId!=null"> |
| | | and iu.user_id = #{userId} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | and i.year = #{year} |
| | | </if> |
| | | GROUP BY |
| | | i.id |
| | | |
| | |
| | | <if test="companyId!=null"> |
| | | and ps.company_id = #{companyId} |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | AND DATE_FORMAT(ps.server_time, '%Y') = #{year} |
| | | </if> |
| | | ORDER BY |
| | | ps.create_time DESC |
| | | </select> |
| | |
| | | pd.`create_by`, |
| | | pd.`create_time`, |
| | | pd.`update_by`, |
| | | pd.`update_time` |
| | | pd.`update_time`, |
| | | pd.`year` |
| | | FROM |
| | | `project_delivery` pd |
| | | LEFT JOIN sys_company sc ON pd.company_id = sc.id |
| | |
| | | <if test="companyId!=null"> |
| | | AND pd.company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null and year != ''"> |
| | | AND pd.year = #{year} |
| | | </if> |
| | | ORDER BY |
| | | pd.create_time DESC |
| | | </select> |
| | |
| | | <if test="companyId!=null"> |
| | | and pr.company_id = #{companyId} |
| | | </if> |
| | | <if test="year!=null and year != ''"> |
| | | AND pr.year = #{year} |
| | | </if> |
| | | ORDER BY |
| | | pr.create_time DESC |
| | | </select> |
| | |
| | | <if test="createBy != null and createBy != ''"> |
| | | AND a.create_by like concat('%', #{createBy}, '%') |
| | | </if> |
| | | <if test="year != null and year != ''"> |
| | | AND DATE_FORMAT(a.publish_date, '%Y') = #{year} |
| | | </if> |
| | | |
| | | order by a.create_time desc |
| | | </select> |