|
|
|
@ -15,7 +15,6 @@ import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
@ -2126,4 +2125,26 @@ public class TestIfsController { |
|
|
|
return resultMap; |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @description: 测试查询人员等级成本 |
|
|
|
* @author LR |
|
|
|
* @date 2025/5/6 13:27 |
|
|
|
* @version 1.0 |
|
|
|
*/ |
|
|
|
@PostMapping("/getLaborClassCosts") |
|
|
|
public Object getLaborClassCosts(@RequestBody BaseSearchData inData) throws APException { |
|
|
|
Map<String, Object> resultMap = new HashMap<String, Object>(); |
|
|
|
try { |
|
|
|
List<LaborClassCost> returnList = baseSearchBeanTest.getLaborClassCosts(inData); |
|
|
|
resultMap.put("returnMap", returnList); |
|
|
|
resultMap.put("code", 200); |
|
|
|
resultMap.put("msg", "操作成功!"); |
|
|
|
} catch (Exception e) { |
|
|
|
resultMap.put("code", 400); |
|
|
|
resultMap.put("msg", e.getMessage()); |
|
|
|
} |
|
|
|
return resultMap; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |