提交 d96acc03 authored 作者: luzhangjian's avatar luzhangjian

feat:修正错误

上级 9291e29e
...@@ -28,8 +28,8 @@ public class OrderListReqDTO extends PageDTO { ...@@ -28,8 +28,8 @@ public class OrderListReqDTO extends PageDTO {
@ApiModelProperty("订单状态") @ApiModelProperty("订单状态")
private String orderStatus; private String orderStatus;
@ApiModelProperty("科室名称") // @ApiModelProperty("科室名称")
private String deptName; // private String deptName;
@ApiModelProperty("科室id") @ApiModelProperty("科室id")
private Long deptId; private Long deptId;
......
...@@ -40,21 +40,21 @@ ...@@ -40,21 +40,21 @@
<if test="appCode!=null and appCode!=''"> <if test="appCode!=null and appCode!=''">
and app_code = #{appCode} and app_code = #{appCode}
</if> </if>
<if test="organId!=null and organId!=''">
and organId = #{organId}
</if>
<if test="orderStatus!=null and orderStatus!=''"> <if test="orderStatus!=null and orderStatus!=''">
and status = #{orderStatus} and status = #{orderStatus}
</if> </if>
<if test="deptName!=null and deptName!=''">
and dept_name like concat('%',#{deptName},'%')
</if>
<if test="deptId!=null and deptId!=''"> <if test="deptId!=null and deptId!=''">
and dept_id = #{deptId} and dept_id = #{deptId}
</if> </if>
<if test="timeType!=null and timeType!=''"> <if test="timeType!=null and timeType!=''">
<if test="timeType == 1"> <if test="timeType == 1">
and create_time BETWEEN #{startTime} AND #{endTime} and create_time BETWEEN #{beginTime} AND #{endTime}
</if> </if>
<if test="timeType == 2"> <if test="timeType == 2">
and sign_end_time BETWEEN #{startTime} AND #{endTime} and sign_end_time BETWEEN #{beginTime} AND #{endTime}
</if> </if>
</if> </if>
<if test="singStatus!=null and singStatus!=''"> <if test="singStatus!=null and singStatus!=''">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论