md
This commit is contained in:
parent
895f2381f2
commit
e9e475a13a
@ -51,7 +51,7 @@ public class EmisWaybillProblemFaqController extends EmisBaseController
|
|||||||
/**
|
/**
|
||||||
* 查询问题件FAG列表
|
* 查询问题件FAG列表
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:list')")
|
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(EmisWaybillProblemFaq emisWaybillProblemFaq)
|
public TableDataInfo list(EmisWaybillProblemFaq emisWaybillProblemFaq)
|
||||||
{
|
{
|
||||||
@ -76,7 +76,7 @@ public class EmisWaybillProblemFaqController extends EmisBaseController
|
|||||||
/**
|
/**
|
||||||
* 获取问题件FAG详细信息
|
* 获取问题件FAG详细信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:query')")
|
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||||
{
|
{
|
||||||
@ -86,7 +86,7 @@ public class EmisWaybillProblemFaqController extends EmisBaseController
|
|||||||
/**
|
/**
|
||||||
* 新增问题件FAG
|
* 新增问题件FAG
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:add')")
|
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:add')")
|
||||||
@Log(title = "问题件FAG", businessType = BusinessType.INSERT)
|
@Log(title = "问题件FAG", businessType = BusinessType.INSERT)
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody EmisWaybillProblemFaq emisWaybillProblemFaq)
|
public AjaxResult add(@RequestBody EmisWaybillProblemFaq emisWaybillProblemFaq)
|
||||||
@ -97,7 +97,7 @@ public class EmisWaybillProblemFaqController extends EmisBaseController
|
|||||||
/**
|
/**
|
||||||
* 修改问题件FAG
|
* 修改问题件FAG
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:edit')")
|
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:edit')")
|
||||||
@Log(title = "问题件FAG", businessType = BusinessType.UPDATE)
|
@Log(title = "问题件FAG", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody EmisWaybillProblemFaq emisWaybillProblemFaq)
|
public AjaxResult edit(@RequestBody EmisWaybillProblemFaq emisWaybillProblemFaq)
|
||||||
@ -108,7 +108,7 @@ public class EmisWaybillProblemFaqController extends EmisBaseController
|
|||||||
/**
|
/**
|
||||||
* 删除问题件FAG
|
* 删除问题件FAG
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:remove')")
|
// @PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemFaq:remove')")
|
||||||
@Log(title = "问题件FAG", businessType = BusinessType.DELETE)
|
@Log(title = "问题件FAG", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids)
|
public AjaxResult remove(@PathVariable Long[] ids)
|
||||||
|
|||||||
@ -446,7 +446,8 @@ public class EmisWaybill extends BaseEntity
|
|||||||
// private String billPicDispatchRmk;
|
// private String billPicDispatchRmk;
|
||||||
private String billPicGoodsRmk;
|
private String billPicGoodsRmk;
|
||||||
|
|
||||||
// 是否已锁单 T
|
// 是否已锁单 T,锁单原因
|
||||||
private String lockFlag;
|
private String lockFlag;
|
||||||
|
private String lockReason;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -184,6 +184,7 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
|
|||||||
boolean isLock=isWaybillLock(dbEmisWaybill);
|
boolean isLock=isWaybillLock(dbEmisWaybill);
|
||||||
if(isLock){
|
if(isLock){
|
||||||
dbEmisWaybill.setLockFlag("T");
|
dbEmisWaybill.setLockFlag("T");
|
||||||
|
dbEmisWaybill.setLockReason("超时不允许修改(TimeOut)";
|
||||||
}else{
|
}else{
|
||||||
dbEmisWaybill.setLockFlag("F");
|
dbEmisWaybill.setLockFlag("F");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,7 +22,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
|
|
||||||
<select id="selectEmisWaybillProblemFaqList" parameterType="EmisWaybillProblemFaq" resultMap="EmisWaybillProblemFaqResult">
|
<select id="selectEmisWaybillProblemFaqList" parameterType="EmisWaybillProblemFaq" resultMap="EmisWaybillProblemFaqResult">
|
||||||
<include refid="selectEmisWaybillProblemFaqVo"/>
|
<include refid="selectEmisWaybillProblemFaqVo"/>
|
||||||
<where>
|
<where>
|
||||||
|
del_flag='0'
|
||||||
<if test="id != null "> and id = #{id}</if>
|
<if test="id != null "> and id = #{id}</if>
|
||||||
<if test="probId != null "> and prob_id = #{probId}</if>
|
<if test="probId != null "> and prob_id = #{probId}</if>
|
||||||
<if test="billCode != null and billCode != ''"> and bill_code like concat('%', #{billCode}, '%')</if>
|
<if test="billCode != null and billCode != ''"> and bill_code like concat('%', #{billCode}, '%')</if>
|
||||||
@ -112,11 +113,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<delete id="deleteEmisWaybillProblemFaqById" parameterType="Long">
|
<delete id="deleteEmisWaybillProblemFaqById" parameterType="Long">
|
||||||
delete from emis_waybill_problem_faq where id = #{id}
|
update emis_waybill_problem_faq set del_flag='1' where id = #{id}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteEmisWaybillProblemFaqByIds" parameterType="String">
|
<delete id="deleteEmisWaybillProblemFaqByIds" parameterType="String">
|
||||||
delete from emis_waybill_problem_faq where id in
|
update emis_waybill_problem_faq set del_flag='1' where id in
|
||||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user