|
|
@@ -473,9 +473,11 @@ public class ConsumeController {
|
|
|
* @param inputType 输入的值类型 1:身份证 2:微校号 3:宇视号 4:工号 5:学号
|
|
|
* @param inputStr 输入的值
|
|
|
* @param outPutType 输出的值类型 1:身份证 2:微校号 3:宇视号 4:工号 5:学号
|
|
|
+ * 通过输入指定的值换取输出特定的值
|
|
|
*/
|
|
|
@PostMapping("/getUserInfo")
|
|
|
- public ResultValue getUserInfo(@RequestParam("inputType") String inputType, @RequestParam("inputStr") String inputStr,
|
|
|
+ public ResultValue getUserInfo(@RequestParam("inputType") String inputType,
|
|
|
+ @RequestParam("inputStr") String inputStr,
|
|
|
@RequestParam("outPutType") String outPutType) {
|
|
|
QueryWrapper<SchoolUser> wrapper = new QueryWrapper<>();
|
|
|
String result = "";
|
|
|
@@ -516,9 +518,11 @@ public class ConsumeController {
|
|
|
/** 水费对接服务
|
|
|
* @param inputType 输入的值类型 1:身份证 2:微校号 3:宇视号 4:工号 5:学号
|
|
|
* @param inputStr 输入的值
|
|
|
+ * 通过输入的值与类型换取宿舍号
|
|
|
*/
|
|
|
@PostMapping("/queryUserDorm")
|
|
|
- public ResultValue queryUserDorm(@RequestParam("inputType") String inputType, @RequestParam("inputStr") String inputStr) {
|
|
|
+ public ResultValue queryUserDorm(@RequestParam("inputType") String inputType,
|
|
|
+ @RequestParam("inputStr") String inputStr) {
|
|
|
QueryWrapper<SchoolUser> wrapper = new QueryWrapper<>();
|
|
|
if (inputType.equals("1")) { //通过身份证查询
|
|
|
wrapper.eq("idCard", inputStr);
|