主业务添加代码
This commit is contained in:
parent
2482ecd02f
commit
35a7d76e06
@ -216,7 +216,7 @@ public class LisWorkOperServiceImpl implements LisWorkOperService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result confirm(Date jyrq, String yq, String ybh, String hdys) {
|
public Result confirm(Date jyrq, String yq, String ybh, String hdys) {
|
||||||
if (hdys == null || "".equals(hdys)) new Result("-1", "审核者为空,无法审核!");
|
if (hdys == null || "".equals(hdys)) return new Result("-1", "审核者为空,无法审核!");
|
||||||
//入参通过GET推送时使用ServletUtils.getParameterToInt获取
|
//入参通过GET推送时使用ServletUtils.getParameterToInt获取
|
||||||
//入参通过POSTJSON时使用JsonParamUtils.getParameterToInt获取
|
//入参通过POSTJSON时使用JsonParamUtils.getParameterToInt获取
|
||||||
int problemId = ServletUtils.getParameterToInt("problemId", 0);
|
int problemId = ServletUtils.getParameterToInt("problemId", 0);
|
||||||
@ -1315,7 +1315,7 @@ public class LisWorkOperServiceImpl implements LisWorkOperService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Result unconfirm(Date jyrq, String yq, String ybh, String yhdh) {
|
public Result unconfirm(Date jyrq, String yq, String ybh, String yhdh) {
|
||||||
if (yhdh == null || "".equals(yhdh)) new Result("-1", "操作者为空,无法解除审核!");
|
if (yhdh == null || "".equals(yhdh)) return new Result("-1", "操作者为空,无法解除审核!");
|
||||||
//入参通过GET推送时使用ServletUtils.getParameterToInt获取
|
//入参通过GET推送时使用ServletUtils.getParameterToInt获取
|
||||||
//入参通过POSTJSON时使用JsonParamUtils.getParameterToInt获取
|
//入参通过POSTJSON时使用JsonParamUtils.getParameterToInt获取
|
||||||
int problemId = ServletUtils.getParameterToInt("problemId", 0);
|
int problemId = ServletUtils.getParameterToInt("problemId", 0);
|
||||||
|
|||||||
@ -88,8 +88,9 @@
|
|||||||
<if test="ywdh != null and ywdh != ''">and ywdh = #{ywdh}</if>
|
<if test="ywdh != null and ywdh != ''">and ywdh = #{ywdh}</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getSysUser" resultType="com.czlis.common.core.domain.entity.SysUser">
|
<select id="getSysUser" parameterType="String" resultType="com.czlis.common.core.domain.entity.SysUser">
|
||||||
select * from sys_user where user_id = #{userId} and password = #{mm}
|
select * from sys_user
|
||||||
|
where user_name = #{userName} and del_flag = '0'
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user