Merge pull request 'develop' (#257) from develop into master
Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/257
This commit is contained in:
commit
61698ef6fd
@ -28,6 +28,7 @@ import org.springframework.web.bind.annotation.DeleteMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import com.xdadan.erp.common.annotation.Log;
|
||||
@ -127,7 +128,7 @@ public class EmisTmsSiteBatchController extends EmisBaseController
|
||||
*/
|
||||
@GetMapping("/scanSiteBatchV2")
|
||||
// @PreAuthorize("@ss.hasPermi('emis:emisTmsSiteBatch:scanSiteBatch')")
|
||||
public AjaxResult scanSiteBatchV2(String batchNo) {
|
||||
public AjaxResult scanSiteBatchV2(@RequestParam("batchNo") String batchNo) {
|
||||
emisTmsSiteBatchService.scanSiteBatchV2(batchNo);
|
||||
return AjaxResult.success("发送成功");
|
||||
|
||||
|
||||
@ -724,7 +724,7 @@ public class EmisTmsSiteBatchMissServiceImpl extends EmisBaseService implements
|
||||
List<String> failedBillCodes = new ArrayList<>();
|
||||
|
||||
// 获取所有线路规划
|
||||
List<EmisTransPlanRule> treeRules = this.selectEmisTransPlanRuleTree(lineCodes);
|
||||
List<EmisTransPlanRule> treeRules = emisTransPlanRuleMapper.selectEmisTransPlanRuleByLineCodes(lineCodes);
|
||||
if (treeRules.isEmpty()) {
|
||||
log.info("No trans plan rules found, skip auto scan v2");
|
||||
return;
|
||||
|
||||
@ -2584,8 +2584,8 @@
|
||||
<if test="dispatchUnderlingSiteCode != null and dispatchUnderlingSiteCode != ''"> and dispatch_underling_site_code=#{dispatchUnderlingSiteCode}</if>
|
||||
<if test="destinationCenterCode != null and destinationCenterCode != ''"> and destination_center_code=#{destinationCenterCode}</if>
|
||||
<if test="marketManCode != null and marketManCode != ''"> and market_man_code = #{marketManCode}</if>
|
||||
<if test="payee != null and payee != ''"> and payee=#{payee}</if>
|
||||
<if test="salesmen != null and salesmen != ''"> and salesmen like concat('%', #{salesmen}, '%')</if>
|
||||
<if test="payee != null and payee != ''"> and a.payee=#{payee}</if>
|
||||
<if test="salesmen != null and salesmen != ''"> and a.salesmen like concat('%', #{salesmen}, '%')</if>
|
||||
<if test="operateEmployeeCode != null and operateEmployeeCode != ''"> and operate_employee_code=#{operateEmployeeCode}</if>
|
||||
<if test="blIsQuestion != null and blIsQuestion != ''"> and bl_is_question=#{blIsQuestion}</if>
|
||||
<if test="problemType != null and problemType != ''"> and problem_type=#{problemType}</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user