| | |
| | | |
| | | List<PrSchedule> selectSome(Map<String, Object> params); |
| | | |
| | | List<PrSchedule> selectAll(@Param("scheduleDate") String scheduleDate,@Param("userId") String userId); |
| | | List<PrSchedule> selectAll(@Param("scheduleDate") String scheduleDate,@Param("userId") Long userId); |
| | | } |
| | |
| | | <if test="password!= null and password !=''"> |
| | | `password`, |
| | | </if> |
| | | <if test="supperAdmin!= null and supperAdmin !=''"> |
| | | <if test="supperAdmin!= null"> |
| | | supper_admin, |
| | | </if> |
| | | <if test="disabled != null"> |
| | |
| | | <if test="password!= null and password !=''"> |
| | | #{password}, |
| | | </if> |
| | | <if test="supperAdmin!= null and supperAdmin !=''"> |
| | | <if test="supperAdmin!= null"> |
| | | #{supperAdmin}, |
| | | </if> |
| | | <if test="disabled != null"> |
| | |
| | | <if test="password!= null and password !=''"> |
| | | `password` = #{password}, |
| | | </if> |
| | | <if test="supperAdmin!= null and supperAdmin !=''"> |
| | | <if test="supperAdmin!= null"> |
| | | supper_admin = #{supperAdmin}, |
| | | </if> |
| | | <if test="disabled != null"> |
| | |
| | | <if test="deleted != null"> |
| | | #{deleted,jdbcType=TINYINT}, |
| | | </if> |
| | | <if test="dt != null"> |
| | | <if test="dt != null and dt !=''"> |
| | | #{dt,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | </trim> |
| | |
| | | po.supperAdmin = Constant.no.byteValue() ; |
| | | // po.disabled = false ;//默认不禁用 |
| | | po.deleted = false;//默认不删除 |
| | | po.supperAdmin = 0;//默认不是管理员 |
| | | if (!StringUtils.isNullOrEmpty(po.password)) { |
| | | /* |
| | | 如果前端进行了base64加密 |
| | |
| | | public class QueryVo extends QueryConditionVo { |
| | | public String planName; |
| | | public String scheduleDate; |
| | | public String userId; |
| | | public Long userId; |
| | | |
| | | } |
| | |
| | | @PostMapping(path="some") |
| | | @SsoPowerAop(power = "10200008") |
| | | @Log("分页查询排班") |
| | | public BaseResponse<QueryResultVo<List<PrSchedule>>> some(@RequestBody com.dy.pmsProduct.schedule.QueryVo vo){ |
| | | public BaseResponse<QueryResultVo<List<PrSchedule>>> some(@RequestBody QueryVo vo){ |
| | | QueryResultVo<List<PrSchedule>> list = sv.selectSome(vo) ; |
| | | return BaseResponseUtils.buildSuccess(list); |
| | | } |